package com.hly.musicbackground.model.index.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hly.musicbackground.domain.Home;
import com.hly.musicbackground.model.index.VO.HomeVO;
import com.hly.musicbackground.model.index.VO.IndexOV;
import com.hly.musicbackground.model.index.VO.LikeRecommendVO;
import com.hly.musicbackground.model.index.VO.RecommendVO;
import com.hly.musicbackground.model.index.params.EditHomeParams;
import com.hly.musicbackground.model.index.params.OtherParams;

import java.util.List;

public interface HomeService extends IService<Home> {

    /**
     * 获取推荐
     * @return RecommendVO 推荐数据
     * */
    List<RecommendVO> getRecommend();

    /**
     * 个性化推荐
     * */
    LikeRecommendVO getLike(OtherParams otherParams);

    /**
     * 获取推荐数据目录
     * */
    List<HomeVO> getDirectory();

    /**
     * 获取推荐数据目录
     * */
    RecommendVO getDetail(int id);

    void editHome(EditHomeParams params);

    void delHomeByIdAll(int id);
}
